								<table id="sample-table-2" class="table table-striped table-bordered table-hover">
									<thead>

										<tr>
											<th class="center">
												<label>
													<input type="checkbox" class="ace" id="alldel" value=""/>
													<span class="lbl"></span>
												</label>
											</th>
											<th>ID</th>
											<th>用户名</th>
											<th>
												图片
											</th>
											<th class="hidden-480">添加时间</th>
											<th>操作</th>
										</tr>
									</thead>

									<tbody>

										<volist name="lists['lists']" id="vo">
											<tr>

												<td class="center">
													<label>
														<input type="checkbox" class="ace" value="{$vo.id}" />
														<span class="lbl"></span>
													</label>
												</td>
														<td>
													<a href="#">{$vo.id}</a>
												</td>
												<td>
													<a href="#">{$vo.user_name}</a>
												</td>
												<td><img onclick="big_img(this,'{$vo.id}',1)" width="100px" height="100px" style="cursor:pointer;display:block;" src="__PUBLIC__/{$vo.compress_url}">
                                                <div class="big_img_{$vo.id}"onclick="big_img(this,'{$vo.id}',2)"  style="cursor:pointer;display:none;"><img   src="__PUBLIC__/{$vo.raw_url}" width="600px" height="600px" ></div>  
												</td>
												<td class="hidden-480">{$vo.addtime}</td>

												<td>
												
													<div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
						
															<a class="red" href="#" onclick="delete_ok({$vo['id']})" title="删除">
																<i class="icon-trash bigger-130"></i>
															</a>
														</div>

														<div class="visible-xs visible-sm hidden-md hidden-lg">
															<div class="inline position-relative">
											
																<ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">

																	<li>
																		<a href="#" class="tooltip-error" data-rel="tooltip" title="删除" onclick="delete_ok($vo['id'])">
																			<span class="red">
																				<i class="icon-trash bigger-120"></i>
																			</span>
																		</a>
																	</li>
																</ul>
															</div>
														</div>
													</if>
												</td>
											</tr>
										</volist>
									</tbody>
								</table>
					<a class='btn btn-danger' onclick="batch_set_user()">批量删除</a>
					<table style="width: 80%; float: right; margin-bottom:10px">
					    <tr>
					        <td style="text-align: right;"> <div class="page_list_ops dataTables_paginate paging_bootstrap pagination" >{$lists['page_html']}</div></td>
					    </tr>
					</table>

<script type="text/javascript">
    $(function(){
        $("#tbmain tr").hover(function(){
            $(this).css({"background-color":"rgba(243, 236, 236, 0.72)"});
        },function(){
            $(this).css({"background-color":"#fff"});
        });

         $("#alldel").bind("click",checkSel);
    });

     function checkSel(){
       var flg= $(this).is(":checked");
       $("input[type='checkbox']").prop("checked",flg);
    }

   function selallval(){
     var _list="";
     $("#sample-table-2 input[type='checkbox']:checked").each(function(){
         // var flg=$(this).is(":checked");
         //if(!flg)return false;
         var _val=$(this).val();
         if(_val!=""){
         _list+= (_list==""?"":",")+"'"+_val+"'";
         } 
     });
     return _list;
} 
//批量设置会员有效无效
function batch_set_user(){
     //获取需要删除信息
     var _val=selallval();
     if(_val==""){
     	art.dialog({title:'温馨提示',content: '<span style="color:red;">请勾选需要删除的记录!</span>', ok: function () {this.close();return false;},okval:'确定'});
        return false;
     }
     $.ajax({
             'url': "{:U('Img/del_images_all')}",
             'data': {'allid':_val},
             'dataType': 'json',
             'type': 'POST',
             success: function (data) {
                 if (data.state =="1") {  
                    art.dialog({title:'温馨提示',content: data.msg, ok: function () {this.close();  load();return false;},okval:'确定'});
                 }

                if (data.state =="0") {  
                    art.dialog({title:'温馨提示',content: data.msg, ok: function () {this.close();  load();return false;},okval:'确定'});
                 }
             }, error: function (err) { 
                 art.dialog({title:'温馨提示',content: err.responseText, ok: function () {this.close();return false;},okval:'确定'});
             },complete: function () {
                
             }
         });

}
    function _es_openDilog90(url, title,id){ 
     art.dialog.open(url, { title: title, width: '1200px', height: '90%', opacity: 0.2, id: id, fixed: true, close:function(){load();}  });
}

function big_img(_this,id,type){
	if(type==1){
	// $(_this).css('display','none');
	var big_img_one = ".big_img_"+id;
    $(big_img_one).css({'display':'block','position':'absolute ','top':'0'}); 
	}else{
		$(_this).css('display','none');
		$(_this).parent().find('img').css('display','block');
	}
}
</script>